package cn.lg.soar.core.handler.ex;

import cn.lg.soar.common.model.HttpResult;
import lombok.Getter;

/**
 * @author luguoxiang
 * 开源项目：https://gitee.com/lgx1992/lg-soar 求star！请给我star！请帮我点个star！
 */
@Getter
public class ErrorResult {

    /**
     * http状态码
     */
    private final Integer status;

    /**
     * 响应结果信息
     */
    private final HttpResult<?> result;

    public ErrorResult(Integer status, HttpResult<?> result) {
        this.status = status;
        this.result = result;
    }

}
